

<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
    <style>
    /* base */
    html,
    body,
    .container {
      width: 100%;
      height: 100%;
    }

    a,
    a:link,
    a:visited {
      text-decoration: none;
      color: inherit;
    }

    ul {
      list-style: none;
    }

    *,
    ::before,
    ::after {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    *:focus {
      outline: 0;
    }

    .container {
      display: flex;
      padding-top: 20px;
    }

    /* Nav */
    .container .doc-nav {
      position: fixed;
      height: 100%;
      margin: 0 30px 0 40px;
      width: 280px;
    }

    .doc-nav .nav-header {
      display: flex;
      align-items: center;
      box-sizing: border-box;
      background-color: rgb(240, 241, 242);
      height: 40px;
      padding: 16px;
      font-size: 18px;
      font-weight: 500;
      color: rgb(62, 64, 66);
      cursor: pointer;
    }

    .doc-nav .nav-content {
      height: calc(100% - 40px);
      overflow-y: auto;
      color: rgb(32, 34, 36);
    }

    .doc-nav .nav-content .nav-list,
    .doc-nav .nav-content .nav-sub-list {
      line-height: 1.5rem;
    }

    .doc-nav .nav-content .nav-label {
      display: inline-block;
      position: relative;
      padding: 2px 0 2px 20px;
      margin-bottom: 4px;
    }

    .doc-nav .nav-content .nav-sub-label {
      position: relative;
      padding: 2px 0 2px 40px;
      font-size: 14px;
    }

    .doc-nav .nav-content .nav-sub-label:hover {
      text-decoration: underline;
    }

    .doc-nav .nav-content .nav-list .nav-label.group::before {
      border-bottom: 0.25rem solid transparent;
      border-left: 0.25rem solid #6e7072;
      border-right: 0;
      border-top: 0.25rem solid transparent;
      content: '';
      display: block;
      height: 0;
      left: 0.5rem;
      position: absolute;
      top: 0.625rem;
      transition: transform 0.1s linear;
      width: 0;
    }

    .doc-nav .nav-content .nav-list .nav-label.group.active::before {
      transform: rotate(90deg);
    }

    /* doc content */
    .container .doc-content {
      position: fixed;
      height: 100%;
      width: calc(100% - 80px - 40px - 30px - 240px);
      right: 0%;
      overflow-y: auto;
    }

    .doc-title {
      border-bottom: 1px solid #dcdee0;
      font-size: 22px;
      margin: 8px 0 0;
      padding-bottom: 16px;
    }

    .doc-content h3 {
      font-size: 24px;
      font-weight: 600;
      margin: 24px 0;
    }

    .doc-content h4 {
      font-size: 22px;
      font-weight: 500;
      margin: 30px 0 8px;
    }

    .doc-content h4 span {
      color: #007d9c;
    }

    .doc-content .doc-declare {
      background-color: #fafafa;
      border-radius: 5px;
      border: 1px solid #ccc;
      font-size: 14px;
      overflow-x: auto;
      padding: 10px;
      tab-size: 4;
      line-height: 20px;
    }

    .doc-content .doc-comment {
      font-size: 16px;
      margin: 16px 0;
      line-height: 24px;
      word-break: break-word;
    }
  </style>

</head>
<body>
  <div class="container">
    <div class="doc-nav">
      <a href="#Documentation" class="nav-header">Documentation</a>
      <nav class="nav-content">
        <ul class="nav-list">
          <li>
            <a href="#includes" class="nav-label">Includes</a>
             
            <ul class="nav-sub-list">

              <li>
                <a href="#lwip/apps/snmp_opts.h" class="nav-sub-label">lwip/apps/snmp_opts.h</a>
              </li>
      

              <li>
                <a href="#lwip/err.h" class="nav-sub-label">lwip/err.h</a>
              </li>
      

              <li>
                <a href="#lwip/apps/snmp_core.h" class="nav-sub-label">lwip/apps/snmp_core.h</a>
              </li>
      
            </ul>
            
          </li>
          <li>
            <a href="#macros" class="nav-label">Macros</a>
             
            <ul class="nav-sub-list">

              <li>
                <a href="#LWIP_HDR_APPS_SNMP_H" class="nav-sub-label">LWIP_HDR_APPS_SNMP_H</a>
              </li>
      

              <li>
                <a href="#SNMP_GENTRAP_COLDSTART" class="nav-sub-label">SNMP_GENTRAP_COLDSTART</a>
              </li>
      

              <li>
                <a href="#SNMP_GENTRAP_WARMSTART" class="nav-sub-label">SNMP_GENTRAP_WARMSTART</a>
              </li>
      

              <li>
                <a href="#SNMP_GENTRAP_LINKDOWN" class="nav-sub-label">SNMP_GENTRAP_LINKDOWN</a>
              </li>
      

              <li>
                <a href="#SNMP_GENTRAP_LINKUP" class="nav-sub-label">SNMP_GENTRAP_LINKUP</a>
              </li>
      

              <li>
                <a href="#SNMP_GENTRAP_AUTH_FAILURE" class="nav-sub-label">SNMP_GENTRAP_AUTH_FAILURE</a>
              </li>
      

              <li>
                <a href="#SNMP_GENTRAP_EGP_NEIGHBOR_LOSS" class="nav-sub-label">SNMP_GENTRAP_EGP_NEIGHBOR_LOSS</a>
              </li>
      

              <li>
                <a href="#SNMP_GENTRAP_ENTERPRISE_SPECIFIC" class="nav-sub-label">SNMP_GENTRAP_ENTERPRISE_SPECIFIC</a>
              </li>
      

              <li>
                <a href="#SNMP_AUTH_TRAPS_DISABLED" class="nav-sub-label">SNMP_AUTH_TRAPS_DISABLED</a>
              </li>
      

              <li>
                <a href="#SNMP_AUTH_TRAPS_ENABLED" class="nav-sub-label">SNMP_AUTH_TRAPS_ENABLED</a>
              </li>
      
            </ul>
            
          </li>
          <li>
            <a href="#functions" class="nav-label">Functions</a>
             
            <ul class="nav-sub-list">

              <li>
                <a href="#snmp_init" class="nav-sub-label">snmp_init</a>
              </li>
      

              <li>
                <a href="#snmp_set_mibs" class="nav-sub-label">snmp_set_mibs</a>
              </li>
      

              <li>
                <a href="#snmp_set_device_enterprise_oid" class="nav-sub-label">snmp_set_device_enterprise_oid</a>
              </li>
      

              <li>
                <a href="#snmp_trap_dst_enable" class="nav-sub-label">snmp_trap_dst_enable</a>
              </li>
      

              <li>
                <a href="#snmp_trap_dst_ip_set" class="nav-sub-label">snmp_trap_dst_ip_set</a>
              </li>
      

              <li>
                <a href="#snmp_send_trap_generic" class="nav-sub-label">snmp_send_trap_generic</a>
              </li>
      

              <li>
                <a href="#snmp_send_trap_specific" class="nav-sub-label">snmp_send_trap_specific</a>
              </li>
      

              <li>
                <a href="#snmp_send_trap" class="nav-sub-label">snmp_send_trap</a>
              </li>
      

              <li>
                <a href="#snmp_set_auth_traps_enabled" class="nav-sub-label">snmp_set_auth_traps_enabled</a>
              </li>
      

              <li>
                <a href="#snmp_get_auth_traps_enabled" class="nav-sub-label">snmp_get_auth_traps_enabled</a>
              </li>
      

              <li>
                <a href="#snmp_v1_enabled" class="nav-sub-label">snmp_v1_enabled</a>
              </li>
      

              <li>
                <a href="#snmp_v2c_enabled" class="nav-sub-label">snmp_v2c_enabled</a>
              </li>
      

              <li>
                <a href="#snmp_v3_enabled" class="nav-sub-label">snmp_v3_enabled</a>
              </li>
      

              <li>
                <a href="#snmp_v1_enable" class="nav-sub-label">snmp_v1_enable</a>
              </li>
      

              <li>
                <a href="#snmp_v2c_enable" class="nav-sub-label">snmp_v2c_enable</a>
              </li>
      

              <li>
                <a href="#snmp_v3_enable" class="nav-sub-label">snmp_v3_enable</a>
              </li>
      

              <li>
                <a href="#snmp_set_community" class="nav-sub-label">snmp_set_community</a>
              </li>
      

              <li>
                <a href="#snmp_set_community_write" class="nav-sub-label">snmp_set_community_write</a>
              </li>
      

              <li>
                <a href="#snmp_set_community_trap" class="nav-sub-label">snmp_set_community_trap</a>
              </li>
      

              <li>
                <a href="#snmp_coldstart_trap" class="nav-sub-label">snmp_coldstart_trap</a>
              </li>
      

              <li>
                <a href="#snmp_authfail_trap" class="nav-sub-label">snmp_authfail_trap</a>
              </li>
      

              <li>
                <a href="#snmp_set_write_callback" class="nav-sub-label">snmp_set_write_callback</a>
              </li>
      
            </ul>
            
          </li>
          <li>
            <a href="#vars" class="nav-label">Vars</a>
            
            <ul class="nav-sub-list">
            
            </ul>
            
          </li>
          <li>
            <a href="#consts" class="nav-label">Consts</a>
             
            <ul class="nav-sub-list">

              <li>
                <a href="# " class="nav-sub-label"> </a>
              </li>
      

              <li>
                <a href="# " class="nav-sub-label"> </a>
              </li>
      

              <li>
                <a href="# " class="nav-sub-label"> </a>
              </li>
      

              <li>
                <a href="# " class="nav-sub-label"> </a>
              </li>
      
            </ul>
            
          </li>
          <li>
            <a href="#types" class="nav-label">Types</a>
            
            <ul class="nav-sub-list">
            
            </ul>
            
          </li>
          <li>
            <a href="#typedefs" class="nav-label">Typedefs</a>
             
            <ul class="nav-sub-list">

              <li>
                <a href="#snmp_write_callback_fct" class="nav-sub-label">snmp_write_callback_fct</a>
              </li>
      
            </ul>
            
          </li>
        </ul>
      </nav>
    </div>
    <div class="doc-content">
      <h2 id="Documentation" class="doc-title">Documentation</h2>
      <h3 id="includes">Includes</h3>
      

      <h4 id="lwip/apps/snmp_opts.h"><span>lwip/apps/snmp_opts.h</span></h4>
      <pre class="doc-declare"><code>#include "lwip/apps/snmp_opts.h"
</code></pre>
      <pre class="doc-comment">#include "lwip/apps/snmp_opts.h"
</pre>

      <h4 id="lwip/err.h"><span>lwip/err.h</span></h4>
      <pre class="doc-declare"><code>#include "lwip/err.h"
</code></pre>
      <pre class="doc-comment">#include "lwip/err.h"
</pre>

      <h4 id="lwip/apps/snmp_core.h"><span>lwip/apps/snmp_core.h</span></h4>
      <pre class="doc-declare"><code>#include "lwip/apps/snmp_core.h"
</code></pre>
      <pre class="doc-comment">#include "lwip/apps/snmp_core.h"
</pre>
      <h3 id="macros">Macros</h3>
      

      <h4 id="LWIP_HDR_APPS_SNMP_H">Marco <span>LWIP_HDR_APPS_SNMP_H</span></h4>
      <pre class="doc-declare"><code>#define LWIP_HDR_APPS_SNMP_H
</code></pre>
      <pre class="doc-comment"></pre>

      <h4 id="SNMP_GENTRAP_COLDSTART">Marco <span>SNMP_GENTRAP_COLDSTART</span></h4>
      <pre class="doc-declare"><code>#define SNMP_GENTRAP_COLDSTART 0
</code></pre>
      <pre class="doc-comment">/** Generic trap: cold start */</pre>

      <h4 id="SNMP_GENTRAP_WARMSTART">Marco <span>SNMP_GENTRAP_WARMSTART</span></h4>
      <pre class="doc-declare"><code>#define SNMP_GENTRAP_WARMSTART 1
</code></pre>
      <pre class="doc-comment">/** Generic trap: warm start */</pre>

      <h4 id="SNMP_GENTRAP_LINKDOWN">Marco <span>SNMP_GENTRAP_LINKDOWN</span></h4>
      <pre class="doc-declare"><code>#define SNMP_GENTRAP_LINKDOWN 2
</code></pre>
      <pre class="doc-comment">/** Generic trap: link down */</pre>

      <h4 id="SNMP_GENTRAP_LINKUP">Marco <span>SNMP_GENTRAP_LINKUP</span></h4>
      <pre class="doc-declare"><code>#define SNMP_GENTRAP_LINKUP 3
</code></pre>
      <pre class="doc-comment">/** Generic trap: link up */</pre>

      <h4 id="SNMP_GENTRAP_AUTH_FAILURE">Marco <span>SNMP_GENTRAP_AUTH_FAILURE</span></h4>
      <pre class="doc-declare"><code>#define SNMP_GENTRAP_AUTH_FAILURE 4
</code></pre>
      <pre class="doc-comment">/** Generic trap: authentication failure */</pre>

      <h4 id="SNMP_GENTRAP_EGP_NEIGHBOR_LOSS">Marco <span>SNMP_GENTRAP_EGP_NEIGHBOR_LOSS</span></h4>
      <pre class="doc-declare"><code>#define SNMP_GENTRAP_EGP_NEIGHBOR_LOSS 5
</code></pre>
      <pre class="doc-comment">/** Generic trap: EGP neighbor lost */</pre>

      <h4 id="SNMP_GENTRAP_ENTERPRISE_SPECIFIC">Marco <span>SNMP_GENTRAP_ENTERPRISE_SPECIFIC</span></h4>
      <pre class="doc-declare"><code>#define SNMP_GENTRAP_ENTERPRISE_SPECIFIC 6
</code></pre>
      <pre class="doc-comment">/** Generic trap: enterprise specific */</pre>

      <h4 id="SNMP_AUTH_TRAPS_DISABLED">Marco <span>SNMP_AUTH_TRAPS_DISABLED</span></h4>
      <pre class="doc-declare"><code>#define SNMP_AUTH_TRAPS_DISABLED 0
</code></pre>
      <pre class="doc-comment"></pre>

      <h4 id="SNMP_AUTH_TRAPS_ENABLED">Marco <span>SNMP_AUTH_TRAPS_ENABLED</span></h4>
      <pre class="doc-declare"><code>#define SNMP_AUTH_TRAPS_ENABLED 1
</code></pre>
      <pre class="doc-comment"></pre>
      <h3 id="functions">Functions</h3>
      

      <h4 id="snmp_init">Func <span>snmp_init</span></h4>
      <pre class="doc-declare"><code>void snmp_init(void);</code></pre>
      <pre class="doc-comment">/**
 * @ingroup snmp_core
 * Agent setup, start listening to port 161.
 */</pre>

      <h4 id="snmp_set_mibs">Func <span>snmp_set_mibs</span></h4>
      <pre class="doc-declare"><code>void snmp_set_mibs(const struct snmp_mib **mibs, u8_t num_mibs);</code></pre>
      <pre class="doc-comment"></pre>

      <h4 id="snmp_set_device_enterprise_oid">Func <span>snmp_set_device_enterprise_oid</span></h4>
      <pre class="doc-declare"><code>void snmp_set_device_enterprise_oid(const struct snmp_obj_id* device_enterprise_oid);</code></pre>
      <pre class="doc-comment"></pre>

      <h4 id="snmp_trap_dst_enable">Func <span>snmp_trap_dst_enable</span></h4>
      <pre class="doc-declare"><code>void snmp_trap_dst_enable(u8_t dst_idx, u8_t enable);</code></pre>
      <pre class="doc-comment"></pre>

      <h4 id="snmp_trap_dst_ip_set">Func <span>snmp_trap_dst_ip_set</span></h4>
      <pre class="doc-declare"><code>void snmp_trap_dst_ip_set(u8_t dst_idx, const ip_addr_t *dst);</code></pre>
      <pre class="doc-comment"></pre>

      <h4 id="snmp_send_trap_generic">Func <span>snmp_send_trap_generic</span></h4>
      <pre class="doc-declare"><code>err_t snmp_send_trap_generic(s32_t generic_trap);</code></pre>
      <pre class="doc-comment"></pre>

      <h4 id="snmp_send_trap_specific">Func <span>snmp_send_trap_specific</span></h4>
      <pre class="doc-declare"><code>err_t snmp_send_trap_specific(s32_t specific_trap, struct snmp_varbind *varbinds);</code></pre>
      <pre class="doc-comment"></pre>

      <h4 id="snmp_send_trap">Func <span>snmp_send_trap</span></h4>
      <pre class="doc-declare"><code>err_t snmp_send_trap(const struct snmp_obj_id* oid, s32_t generic_trap, s32_t specific_trap, struct snmp_varbind *varbinds);</code></pre>
      <pre class="doc-comment"></pre>

      <h4 id="snmp_set_auth_traps_enabled">Func <span>snmp_set_auth_traps_enabled</span></h4>
      <pre class="doc-declare"><code>void snmp_set_auth_traps_enabled(u8_t enable);</code></pre>
      <pre class="doc-comment"></pre>

      <h4 id="snmp_get_auth_traps_enabled">Func <span>snmp_get_auth_traps_enabled</span></h4>
      <pre class="doc-declare"><code>u8_t snmp_get_auth_traps_enabled(void);</code></pre>
      <pre class="doc-comment"></pre>

      <h4 id="snmp_v1_enabled">Func <span>snmp_v1_enabled</span></h4>
      <pre class="doc-declare"><code>u8_t snmp_v1_enabled(void);</code></pre>
      <pre class="doc-comment"></pre>

      <h4 id="snmp_v2c_enabled">Func <span>snmp_v2c_enabled</span></h4>
      <pre class="doc-declare"><code>u8_t snmp_v2c_enabled(void);</code></pre>
      <pre class="doc-comment"></pre>

      <h4 id="snmp_v3_enabled">Func <span>snmp_v3_enabled</span></h4>
      <pre class="doc-declare"><code>u8_t snmp_v3_enabled(void);</code></pre>
      <pre class="doc-comment"></pre>

      <h4 id="snmp_v1_enable">Func <span>snmp_v1_enable</span></h4>
      <pre class="doc-declare"><code>void snmp_v1_enable(u8_t enable);</code></pre>
      <pre class="doc-comment"></pre>

      <h4 id="snmp_v2c_enable">Func <span>snmp_v2c_enable</span></h4>
      <pre class="doc-declare"><code>void snmp_v2c_enable(u8_t enable);</code></pre>
      <pre class="doc-comment"></pre>

      <h4 id="snmp_v3_enable">Func <span>snmp_v3_enable</span></h4>
      <pre class="doc-declare"><code>void snmp_v3_enable(u8_t enable);</code></pre>
      <pre class="doc-comment"></pre>

      <h4 id="snmp_set_community">Func <span>snmp_set_community</span></h4>
      <pre class="doc-declare"><code>void snmp_set_community(const char * const community);</code></pre>
      <pre class="doc-comment"></pre>

      <h4 id="snmp_set_community_write">Func <span>snmp_set_community_write</span></h4>
      <pre class="doc-declare"><code>void snmp_set_community_write(const char * const community);</code></pre>
      <pre class="doc-comment"></pre>

      <h4 id="snmp_set_community_trap">Func <span>snmp_set_community_trap</span></h4>
      <pre class="doc-declare"><code>void snmp_set_community_trap(const char * const community);</code></pre>
      <pre class="doc-comment"></pre>

      <h4 id="snmp_coldstart_trap">Func <span>snmp_coldstart_trap</span></h4>
      <pre class="doc-declare"><code>void snmp_coldstart_trap(void);</code></pre>
      <pre class="doc-comment"></pre>

      <h4 id="snmp_authfail_trap">Func <span>snmp_authfail_trap</span></h4>
      <pre class="doc-declare"><code>void snmp_authfail_trap(void);</code></pre>
      <pre class="doc-comment"></pre>

      <h4 id="snmp_set_write_callback">Func <span>snmp_set_write_callback</span></h4>
      <pre class="doc-declare"><code>void snmp_set_write_callback(snmp_write_callback_fct write_callback, void* callback_arg);</code></pre>
      <pre class="doc-comment"></pre>
      <h3 id="vars">Vars</h3>
      
      <h3 id="consts">Consts</h3>
      

      <h4 id=" ">Const <span> </span></h4>
      <pre class="doc-declare"><code>const struct snmp_obj_id* snmp_get_device_enterprise_oid(void);</code></pre>
      <pre class="doc-comment"></pre>

      <h4 id=" ">Const <span> </span></h4>
      <pre class="doc-declare"><code>const char * snmp_get_community(void);</code></pre>
      <pre class="doc-comment"></pre>

      <h4 id=" ">Const <span> </span></h4>
      <pre class="doc-declare"><code>const char * snmp_get_community_write(void);</code></pre>
      <pre class="doc-comment"></pre>

      <h4 id=" ">Const <span> </span></h4>
      <pre class="doc-declare"><code>const char * snmp_get_community_trap(void);</code></pre>
      <pre class="doc-comment"></pre>
      <h3 id="types">Types</h3>
      
      <h3 id="typedefs">Typedefs</h3>
      

      <h4 id="snmp_write_callback_fct">Typedef <span>snmp_write_callback_fct</span></h4>
      <pre class="doc-declare"><code>typedef void (*snmp_write_callback_fct)(const u32_t* oid, u8_t oid_len, void* callback_arg);
</code></pre>
      <pre class="doc-comment"></pre>
    </div>
  </body>
</html>
            